﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Jib.Controls.DataGrid
{
    public class FilterDistinctComboBox : ComboBox
    {
        protected override void OnKeyDown(KeyEventArgs e)
        {
            // Stop "Spacebar" from being eaten by the ComboBox.  The filter TextBox needs the KeyDown
            if (e.Key != Key.Space)
            {
                base.OnKeyDown(e);
            }
           
        } 

    }
}
